#!/usr/bin/python
# -*- coding: utf-8 -*-
# coding:utf-8

class publishContentBean(object):
    requestClass = ""
    requestType = ""
    token = ""
    channelId = ""
    modelId = ""
    typeId = ""
    siteId = ""
    uid = ""
    author = ""
    title = ""
    txt = ""
    def __init__(self):
        return
    
    def setVale(self,requestClass,requestType,token,channelId,modelId,typeId,siteId,uid,author,title,txt):
        self.requestClass = requestClass 
        self.requestType = requestType
        self.token = token
        self.channelId = channelId
        self.modelId = modelId
        self.typeId = typeId
        self.siteId = siteId
        self.uid = uid
        self.author = author
        self.title = title
        self.txt = txt
    
    def getValue(self):
        return self.requestClass,self.requestType,self.token,self.channelId,self.modelId,self.typeId,self.siteId,self.uid,self.author,self.title,self.txt
    
    def convert_to_builtin_type(self,obj): 
        d = {  }
        d.update(obj.__dict__)
        return d